package com.toolset.Util;

/**
 * 设备信息
 */

public class PhoneInfoUtil {

    //品牌 型号 安卓版本 固件名称 固件版本 标志  设备标识 sdk
    String brand,model,androidversion,romname,romversion,sign,sdk;
    //驱动 产品 厂商 cpu 基本 显示器 id 版本号 制造商 用户 标签
    String device,product ,cpu,board,display,id,version_codes_base,maker,user,tags;
    // 硬件  主机 未知 类型 时间 radio 序列号 CPU_ABI2
    String hardware,host,unknown,type,time,radio,serial,cpu2;

    public PhoneInfoUtil() {
        product = " 产品 : " + android.os.Build.PRODUCT;
        cpu = " CPU_ABI : " + android.os.Build.CPU_ABI;
        tags = " 标签 : " + android.os.Build.TAGS;
        version_codes_base = " VERSION_CODES.BASE: " + android.os.Build.VERSION_CODES.BASE;
        model = " 型号 : " + android.os.Build.MODEL;
        sdk = " SDK : " + android.os.Build.VERSION.SDK;
        androidversion = " Android 版本 : " + android.os.Build.VERSION.RELEASE;
        device = " 驱动 : " + android.os.Build.DEVICE;
        display = " DISPLAY: " + android.os.Build.DISPLAY;
        brand = " 品牌 : " + android.os.Build.BRAND;
        board = " 基板 : " + android.os.Build.BOARD;
        sign = " 设备标识 : " + android.os.Build.FINGERPRINT;
        id = " 版本号 : " + android.os.Build.ID;
        maker = " 制造商 : " + android.os.Build.MANUFACTURER;
        user = " 用户 : " + android.os.Build.USER;
        cpu2 = " CPU_ABI2 : " + android.os.Build.CPU_ABI2;
        hardware = " 硬件 : " + android.os.Build.HARDWARE;
        host = " 主机地址 :" + android.os.Build.HOST;
        unknown = " 未知信息 : " + android.os.Build.UNKNOWN;
        type = " 版本类型 : " + android.os.Build.TYPE;
        time = " 时间 : " + String.valueOf(android.os.Build.TIME);
        radio = " Radio : " + android.os.Build.RADIO;
        serial = " 序列号 : " + android.os.Build.SERIAL;
    }


    public String getBrand() {
        return brand;
    }

    public String getModel() {
        return model;
    }

    public String getAndroidversion() {
        return androidversion;
    }

    public String getRomname() {
        return romname;
    }

    public String getRomversion() {
        return romversion;
    }

    public String getSign() {
        return sign;
    }

    public String getSdk() {
        return sdk;
    }

    public String getDevice() {
        return device;
    }

    public String getProduct() {
        return product;
    }

    public String getCpu() {
        return cpu;
    }

    public String getBoard() {
        return board;
    }

    public String getDisplay() {
        return display;
    }

    public String getId() {
        return id;
    }

    public String getVersion_codes_base() {
        return version_codes_base;
    }

    public String getMaker() {
        return maker;
    }

    public String getUser() {
        return user;
    }

    public String getTags() {
        return tags;
    }

    public String getHardware() {
        return hardware;
    }

    public String getHost() {
        return host;
    }

    public String getUnknown() {
        return unknown;
    }

    public String getType() {
        return type;
    }

    public String getTime() {
        return time;
    }

    public String getRadio() {
        return radio;
    }

    public String getSerial() {
        return serial;
    }

    public String getCpu2() {
        return cpu2;
    }
}
